﻿using Client.Commands;
using Contracts.Entities;
using System.Collections.Generic;

namespace Client.ViewModels
{
    public class MovieDetailsViewModel : WorkspaceViewModel
    {
        private MovieItem movieItem;

        public MovieDetailsViewModel()
        {
            ReadMoviesByMovieElementCommand = new ReadMoviesByMovieElementCommand();
        }

        #region Properties

        public ReadMoviesByMovieElementCommand ReadMoviesByMovieElementCommand { get; set; }

        public override MovieItem MovieItem
        {
            get
            {
                return movieItem;
            }
            set
            {
                movieItem = value;
                NotifyPropertyChanged("MovieItem");
            }
        }

        #endregion
    }
}
